/********************************************************************************
 *      Copyright:  (C) 2022 Zhang xiangyun<1327295677@qq.com>
 *                  All rights reserved.
 *
 *       Filename:  ds18b20.h
 *    Description:  This head file ds18b20.h
 *
 *        Version:  1.0.0(18/04/22)
 *         Author:  Zhang xiangyun <1327295677@qq.com>
 *      ChangeLog:  1, Release initial version on "18/04/22 19:29:41"
 *                 
 ********************************************************************************/
#ifndef  _DS18B20_H_
#define  _DS18B20_H_
/* description:this function used to get temperature from Raspberrypi */
/* return valure :success:print temperature,failure:return value <0 */
extern int get_temperature (float*t);

#endif  /* -----#ifndef _DS18B20_H_ ----- */

